package top.soning.disk.mapper;

import org.apache.ibatis.annotations.Insert;
import top.soning.disk.entity.CatalogueEntity;

public interface CatalogueMapper {
    @Insert("insert into tb_catalogue \n" +
            "(path_hash, uid, fid, path, is_dir,serve_filename, serve_ctime, size ) \n" +
            "values( #{pathHash}, #{uid}, #{fid}, #{path}, #{isDir}, #{serveFilename}, #{serveCtime}, #{size} )")
    int insertCalalogue(CatalogueEntity catalogueEntity);
}
